package com.seawaterbt.springbootshiro.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("t_user")
public class User implements Serializable {

    private static final long serialVersionUID = -2926944755763672022L;

    @TableId(type = IdType.AUTO)
    private Integer uid;
    private String username;
    private String name;
    private String password;
    private String salt;
    private Integer loginCount;
    private Date loginTime;
    private Date lastLoginTime;
    private Integer status;
    private Date createTime;
    private Date updateTime;
}
